package entity;

public class Goods {
    private int productId;
    private String name;
    private int price;
    private int status;
    private String description;
    private String image;

    public Goods() {
    }

    public Goods(int productId, String name, int price, int status, String description, String image) {
        this.productId = productId;
        this.name = name;
        this.price = price;
        this.status = status;
        this.description = description;
        this.image = image;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "goods{" +
                "productId=" + productId +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", status=" + status +
                ", description='" + description + '\'' +
                ", image='" + image + '\'' +
                '}';
    }
}
